package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_DepositPlatformAccount", catalog="Id")
public class TcwDepositPlatformAccount extends BaseEntity<TcwDepositPlatformAccount> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Mid", nameJava="mid", typeDataBase="varchar")
	private String mid;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="DepositPlatformCode", nameJava="depositPlatformCode", typeDataBase="varchar")
	private String depositPlatformCode;
	@YsField(nameDataBase="Vyhsx", nameJava="vyhsx", typeDataBase="tinyint")
	private Integer vyhsx;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="RegionCode", nameJava="regionCode", typeDataBase="varchar")
	private String regionCode;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="DepositAccountInfo", nameJava="depositAccountInfo", typeDataBase="varchar")
	private String depositAccountInfo;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="AuthorizedStatus", nameJava="authorizedStatus", typeDataBase="tinyint")
	private Integer authorizedStatus;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwDepositPlatformAccount setId(Long id) {
		this.id = id;
		return this;
	}
	public String getMid() {
		return mid;
	}
	public TcwDepositPlatformAccount setMid(String mid) {
		this.mid = mid;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TcwDepositPlatformAccount setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TcwDepositPlatformAccount setName(String name) {
		this.name = name;
		return this;
	}
	public String getDepositPlatformCode() {
		return depositPlatformCode;
	}
	public TcwDepositPlatformAccount setDepositPlatformCode(String depositPlatformCode) {
		this.depositPlatformCode = depositPlatformCode;
		return this;
	}
	public Integer getVyhsx() {
		return vyhsx;
	}
	public TcwDepositPlatformAccount setVyhsx(Integer vyhsx) {
		this.vyhsx = vyhsx;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TcwDepositPlatformAccount setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getRegionCode() {
		return regionCode;
	}
	public TcwDepositPlatformAccount setRegionCode(String regionCode) {
		this.regionCode = regionCode;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwDepositPlatformAccount setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TcwDepositPlatformAccount setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getDepositAccountInfo() {
		return depositAccountInfo;
	}
	public TcwDepositPlatformAccount setDepositAccountInfo(String depositAccountInfo) {
		this.depositAccountInfo = depositAccountInfo;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TcwDepositPlatformAccount setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public Integer getAuthorizedStatus() {
		return authorizedStatus;
	}
	public TcwDepositPlatformAccount setAuthorizedStatus(Integer authorizedStatus) {
		this.authorizedStatus = authorizedStatus;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwDepositPlatformAccount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwDepositPlatformAccount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwDepositPlatformAccount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwDepositPlatformAccount tcwDepositPlatformAccount(
		String mid,
		String code,
		String name,
		String depositPlatformCode,
		Integer vyhsx,
		String vyhzhmc,
		String regionCode,
		String currencyCode,
		String vyhzh,
		String depositAccountInfo,
		String vgsbm,
		Integer authorizedStatus,
		Integer status
			) {
		TcwDepositPlatformAccount entity = new TcwDepositPlatformAccount();
		entity.setMid(mid);
		entity.setCode(code);
		entity.setName(name);
		entity.setDepositPlatformCode(depositPlatformCode);
		entity.setVyhsx(vyhsx);
		entity.setVyhzhmc(vyhzhmc);
		entity.setRegionCode(regionCode);
		entity.setCurrencyCode(currencyCode);
		entity.setVyhzh(vyhzh);
		entity.setDepositAccountInfo(depositAccountInfo);
		entity.setVgsbm(vgsbm);
		entity.setAuthorizedStatus(authorizedStatus);
		entity.setStatus(status);
		return entity;
	}
}